/**
 * Created with JetBrains PhpStorm.
 * User: ishowshao
 * Date: 12-8-21
 * Time: 下午7:50
 */
Ext.define('ExtFrame.view.Viewport', {
    requires: [
        'Ext.container.Viewport',
        'ExtFrame.view.Menu'
    ],
    extend: 'Ext.container.Viewport',
    layout: 'border',
    initComponent: function () {
        this.items = [
            {
                xtype: 'container',
                html: '<div style="font-size: 24px;">Show Ext Frame</div>',
                region: 'north',
                split: true
            },
            {
                xtype: 'frame.menu',
                region: 'west',
                split: true
            },
            {
                xtype: 'container',
                region: 'center',
                title: 'center',
                html: 'center'
            }
        ];
        this.callParent(arguments);
    }
});
